package entity.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-14
 */
@Getter
@Setter
@TableName("sa_salaryitem")
public class Salaryitem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "xz_id", type = IdType.AUTO)
    private Integer xzId;

    /**
     * 薪资项目（项目名称）
     */
    @TableField("project_name")
    private String projectName;

    /**
     * 属性id
     */
    @TableField("property_id")
    private Integer propertyId;

    /**
     * 1加项/0减项
     */
    @TableField("addition_ubtraction")
    private Integer additionUbtraction;

    /**
     * 类型
     */
    @TableField("type")
    private String type;

    /**
     * 小数保留规则(1,原始数据，0.四舍五入)
     */
    @TableField("fractional_gauge")
    private Integer fractionalGauge;

    /**
     * 保留小数
     */
    @TableField("reserve_decimal")
    private Double reserveDecimal;

    /**
     * 取值方式
     */
    @TableField("value_method")
    private String valueMethod;

    /**
     * 薪资档案引用
     */
    @TableField("payroll_reference")
    private Integer payrollReference;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 备注
     */
    @TableField("back")
    private String back;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 薪资项目规则
     */
    @TableField("payroll_rule")
    private String payrollRule;

    /**
     * 删除标志
     */
    @TableField("delete_flag")
    private Integer deleteFlag;


}
